there are dedicated mains powered screwdrivers – but the market for them tends to be production / manufacturing – so they’re not cheap.
You can just stick a screwdriver bit holder in the chuck of a regular mains drill – most these days have forwarded /reverse and a modicum of speed control in the trigger. I used one like that for years back when cordless drills were both prohibitively expensive and shit. They can get a bit hot if you do it a lot so run it at full blast with no load every now and then to run some air through it.
They’re clumsy though – not having a battery in the handle makes them very front-heavy and tiring to use. If you already have one (or spot one in a car boot sale) give it a whirl and see how you get on. (look for one that has a switch by the trigger that allows you to reverse it and a dial on the trigger itself that allows you to prevent the trigger being full pulled and keep the speed down. Bought new mains drills aren’t often a massive bargain as theirs not much demand/competition.
These days though batteries are a lot better and cope with non-use much better than they used to. Look for a good deal on one of the bigger names – a base-spec drill but using their ‘proper’ batteries. When, one day, the battery goes phut there’ll be plenty of affordable and aftermarket spares available. Lower price /cheapo brands will have less of that backup further down the line.