Hello Guste,
You can, of course, wire the trailer lights yourself; to do this, you need to disconnect the existing connection at the trailer socket. It would work regardless of whether the trailer detection is implemented via a switch or power detection.
The amount of effort it requires and whether it's worth it are separate issues.
Since I don't have an electric trunk release (and after researching the topic, as well as knowing that an acquaintance often has to drive off with the trunk open in the mornings because it malfunctions, I definitely won't be buying one), everyone has to decide for themselves whether the effort is worth it.
Ultimately, it also depends on how often the described "comfort accident" occurs, whether it's once a year or every week.
Best regards, Rainer.