Is it ok to link my Apple ID to a virtual machine?

I've installed Mojave in virtual box using a virtual disk I found online, is it okay if I link my Apple ID? Or could I have any problem with Apple?

submitted by /u/Joker_513
[link] [comments]