Yes, "disco" can be used as a verb. My dictionary says that when it is used as such it means "to dance to disco music." I suppose it could also mean to go to a disco. However, it should only be used as a verb in an informal context.
Also, I would say "it's time to disco" instead of "it's the time to disco."
I'm not a teacher.
Interested in Language