Yep, assuming you're wanting to paint the outside of the tank. Works fine. If you're using a light color, I recommend covering it with a coat of black as well. We painted a tank with dark blue, and it was pretty blah. Put a coat of black on top, and it really intensified the color without darkening it.
I wouldn't paint the inside--too much risk of it flaking and making a mess when cleaning.