It could work OK using that method.
You will need a low gate-source threshold voltage VGS N-CH MOSFET and preferably one with reasonable drain-source on resistance RDS(on).
Keep in mind that as the capacitor discharges, the LEDs will eventually dim and the MOSFET will eventually start to dissipate some heat as the drain-source resistance increases as the channel is no longer saturated.