I do most of my development in a VM. Whether this is appropriate for you will depend on what you are trying to develop and whether you need direct access to hardware, as well as the video mentioned earlier running Unraid in a VM is covered here in the online documentation accessible via the ‘Manual’ link at the bottom of the GUI or the DOCS link at the top of each forum page.
Whatever approach you take you need a second licence if you want to do development on s different system or in a VM. There is (unfortunately) no developers licence. As you said using a trial licence is not ideal as when it expires the flash drive would be blacklisted for further trials. You therefore need to either purchase a second licence, or if you think what you are doing would be of sufficient interest and/or value you could try approaching Limetech to see if they might provide a complementary licence.