No, there are plenty of Wifi 40-amp 240 volt smart controllers; they are listed as swimming pool controllers, and they are reasonably priced. Here are a couple of examples:
https://www.amazon.com/Suraielec-Controller-Powerful-Electrical-Appliances/dp/B08VS7SRHN
https://www.amazon.com/DEWENWILS-Outdoor-Wireless-Controller-Compatible/dp/B07PP2KNNH
I bought this one and have been very pleased with it. It only has one button, which will force an on or off command. The rest is controlled via WiFi with an app or the assistant of your choice. I use my phone to set the timer or just tell Alexa to turn on the pump if I want it on early. It will still turn off at 10 pm. The pump is 1.5 hp single speed 120 volts.