Yes, that should work.
A transistor circuit using 2n2222, 2n3904, BC547, etc (any generic NPN transistor) would just use something like a 1kohm to 10kohm 1/4watt resistor on the base pin to the control input (lightswitch output from bosch), and the emitter goes to the battery ground (negative), and the collector goes to the enable line. A small voltage on the resistor input makes a current thru the base and and emitter whch turns on the collecotr to ground the enable line. Not much heat is generated so it can be stuffed in wherever is convenient, with just a bit of heatshrink over it all to keep from shorting to anything. (heatshrink the individual leads/connections, too)
If the voltage on the input is going to be higher, and the signal it is switching doesn't have to go completely to ground to turn it on, you can add a 1kohm resistor on the base to ground, too, but for your usage this shouldn't be needed (and might cause problems).
I have a bag of a few hundred such transistors I've had around for a few decades that I have about half-emptied at this point, using them for little things like this.

(they're so old they all come in little metal cans instead of plastic!) I keep a few higher-power similar transistors for switching actual loads on with basically the same circuit. When i am going to toss out some old dead electronics, I first open them up to mass-desolder bigger useful parts like these, and resistors; I don't typically sort them out but just dump them in a bag or box for later "hmmm....do I have one of these?" before I order stuff (cuz shipping is ridiculous on small parts like this). Lots of stuff uses these little transistors, or ones that are close enough to work, and often has the right resistors in the same part of the circuit, so if you have old unused stuff around you're likely to toss out....
You can use FETs for the purpose too, but depending on the FET they can be harder to correctly drive the gate, and static electricity tends to damage them easier than it does plain old small transistors.