APM/PX as car blackbox

Title actually says all, i’m driving a car on a race track and wan’t to know if it is possible to repurpose a apm or pix to create a log of the track. I plan on adding a rtk base station and transmit the data to the rover/blackbox in the car. Add a serial logger to the telem port and log all data for later review onto the sd card/internal sd card. Valuable information is vibration/heading/GPS… ultimate goal would be to sync it with a video as an hud overlay.
Why apm? I got plenty of spare apm…

All what is needed is set the apm into continous log mode without arming i guess?

Thanks for your input!