Emulators are even more expensive, it's because how many devices you can run on PC if average emulator takes 8gb ram. 4gb-5gb for system, the rest for virtual machine.
It will be not fast also to automate video apps like TikTok or IG because emualator is ARM and PC is x86. The translation will always make it crap, even you have some super fast CPU, it's just physics.
You can put threadripper inside PC and still you will experience massive lag.
According detection:
-first, there are few Android system methods that are telling app you are using the emulator, system will tell the app
-second, advanced apps like social media, are using own methods to get physical identifiers of your phone, especialy TikTok is using system loops to get these identifiers even against Google Play policy
-building fingerprint by not obvious ways like getting values from gyroscope, accelerometer, battery, nearby WIFI networks, etc. there are dozens of factors and if your score is negative, they will treat it as emulator. Did you know, that TikTok is running gyroscope every 30 seconds? xD Why?

You can check it yourself by Pixel + Graphene OS, turn on gyroscope notification and it will tell you what app is using that and when.
You can cheat some games, dating apps, but not big social media apps.