I think for that case you need a valid mac serial number, too. I think virtualized macOS does not support iMessage either (although googling seems to suggest that you might be able to get it working by copying a valid mac serial number from another device or something. Basically, if you haven't bought a real apple device, you probably won't be able to use iMessage. "Borrowing" your friend's serial number is probably not the smartest idea either.)
Yes, you can, but only if you are signed into your Apple ID and connected to Wi-Fi. I believe Macs and non-cellular iPads send messages over Wi-Fi to the iMessage servers.