For the OP, it sounds like you'd be OK on the basis that you're flying over <some> cloud, but still in sight of ground. If it's solid undercast, you're flat out of luck - it's not legal.
As IO540 said, legality and sense/safety are two separate issues.