The only regulatory restriction is that student pilots are not allowed to fly above a cloud layer without ground reference. VFR over-the-top can be a very useful tool to get above a cloud layer instead of flying in haze or restricted visibility below the clouds.