To use a Xiaomi treadmill insted of «dr. toys» as an exercise stress test treadmill – a real bargain?

I suppose it should be possible to build an exercise stress test treadmill out of a Xioami treadmill and OpenBCI ECG. These treadmills use the Bruce protocol: https://en.wikipedia.org/wiki/Bruce_protocol This protocol lasts 21 min. and the treadmill becomes gradually faster controlled by a computer, and the tilt becomes gradually bigger. The Xiaomi K12 cannot uplift, but …