Whoa! Not a good idea. I don't think you'll ever get a metal can sealed well enough to prevent it from rusting. You're going to need a very wide surface to seal/adhere the glass to and glass way over sized with sealant completely covering overlap between glass and metal, gonna be a lot of flex there. Potential leaks and flexing could damage protective seal on metal. Acrylic "glass" may not be stiff enough.
If plastic can, way to much flex of the can. Even more of a problem stiffening opening edges. Some protective sealants that will adhere to plastic will allow containments to leach through. Especially chemicals from plastic itself. Various chemical components of some plastics readily leach into water. That's why cans are labeled as to use for potable water or not. And there are some chemicals that do not necessarily make water unsafe for drinking but could be dangerous for critters living in it.
That being said, you could try one and see how a few feeder guppies do in it for a month or so.