It depends on the type automation you want to perform. Bluestacks has some very basic macros that maybe could serve your purpose if you perform something basic and repetitive in the same SM. But on mobile things are very much different, and you cannot be scrapping HTML/JS code on apps to select the right actions. You need to go way further (unless you intend to do so over a browser).
Genymotion is great for dev purposes, but it's very easily detectable and they have very old stable Android API, but for mobile browser scrapping it would be fine. Also, since all devices are rooted by default, you can set some modules and cover your fingerprints.
But overall I don't find any emulator worth trying for automating for SM. I would rather choose real devices with tools like scrcpy