Can I burn a Mac file on DVD in Windows then install on a Mac?

I want to buy Mac software as a gift but I have a Windows machine. Could I purchase the software and download it on my Windows machine then burn it to DVD for someone to install on a Mac?