There is absolutely no risk to your device when you choose to use an Android emulator since it uses up a tiny fraction of your storage space and places very little pressure on the RAM on your device. It's secure to use and there's no reason to worry about any harmful activities that may take place on your device.