MDF is very poureous material, even if you sprayed loads of layers of paint but the finish will be patchy at best which is not good if you want a gloss finish. Also MDF (8mm or less) is prone to warp when the paint soaks in. Best to seal the MDF, you can seal it like Tom suggested with PVA or buy special seals but you will need a spray booth as they are toxic.
HALFORDS sell cans of filler spray but can be pricey depending how big the project you’re planing to spray. Good thing about filler spray that they will cover small imperfections like scratches or small dents and when you sand with a fine grit glass/sand paper you will have a smooth surface for a gloss finish. I hope this helped
P.S Halfords sell acrylic based spray paints which is less toxic but still need a ventilated area and a mask