I had a pair of either ocellaris or percula clowns, one of them died which looking back on it may have been the female beating up the male.
But for a couple months now I've had the single female as the only fish in the 24 gallon tank with mushrooms and toadstools.
Can she live happily alone...