I have a mrmdf boot (yes, boot) shelf drying from its first top coat as we speak. Also planning using it to make an av cabinet and plenty 9f other stuff. The likes of @petermillard and others made a good living from the stuff.
For painting the edges, just prime it, sand it, prime it, sand it...