Is it legal to use blender for making or remodelling UE4 assets?

I want to know if its legal to make new assests for UE4 using blender or remodel existing ones and can i use quixel megascans with this process (i,e, what are the limitations to the usage of quixel megascans (without subscription but just with integration with UE4) in this process).

Yes, you can