Can I use a glass fish tank to keep rats and mice?

The glass tank is large (about 1 metre in length). I’ve kept goldfishes and other similar fishes in it before. Can I use it to keep rats or mice? What do I have to do the the tank before placing them in? Other suggestions on keeping mice and rats for a beginner would be extremely helpful, thanks!