Yes, you can easily use most white high gloss console tables as a desk!
Just keep in mind that, because most console tables range between 30 and 32 inches in height, a traditional office chair might not work. Be sure to measure your specific table and choose either a height-adjustable chair or a low-level model that complements it.
Other than that, you can treat it just like any other desk.