can i do that? is it safe, if so, how?
if you are running virtual box , yes, you can do it by installing Aditional Devices (the one about virtualization)
I currently run this setup so yes you can do it, yes it is safe and follow this guide:
http://lifehacker.com/5403100/dual-boot-windows-7-and-ubuntu-in-perfect-harmony
or if you want the offical ubuntu guide follow this one:
https://help.ubuntu.com/community/WindowsDualBoot