As already said (see Chilli Monster's post, and quote) - you must remain in sight of the surface, so no, it's not legal.
Reasons for possible confusion:
- It is legal to be VFR in VMC above the clouds if you have an IR or an IMC rating.
- I think the rules are different in the USA, so you may be confusing the two countries' rules.
FFF
-------------