If you mean dual booting, yeah I did that on the beta of Windows 7, the only problem was getting the options of which OS you want to boot with, both will overwrite the MBR, which will leave you with a tricky way to get both running
You have to install Windows and Ubuntu on a different partition, because each have their own partition table Ubuntu has the ext4 Windows has NTFS