I don't think you can get it to work off a dummy thermistor value with the target set as the current temp, since both work off error values (hot end is PID, and I think the bed's default Bang-bang algorithm is only triggered if there is a change in the temp reading outside the hysteresis limit). I haven't tested it myself, but if you Thermistor 998 and set the temp with something like M104 S50, it should give you an output, but one that should trigger thermal runaway protection if you have that enabled. For me, I had to add the "I" flag to mess with the heater pin from M42 since it's protected by the firmware. I had to play around a bit to get the right pin number since I'm running a 32 bit controller that labels in terms of ports, but maybe test the M42 with some other pins to make sure you're selecting the right one?
I think the target temp needs to be different enough for the algorithm to start running, but from there you should be able to run a PID tune with the whole system set up that should help a bit. If you are just turning the things on or off, I think M42 is your best bet, although maybe alter the sensitive_pins.h file, but I think that might be a bit too much instead of just the "I" overrride flag.