Arduino Nano (hidden) initialisation of interrupts

You can stop the millis() interrupt by disabling the Timer0 overflow interrupt:

TIMSK0 &= ~bit(TOIE0);                   // disable overflow interrupt

Or if you need to have your own Timer0 overflow ISR, I think you can replace the IDE's with one of your own:

https://forum.arduino.cc/t/how-to-user-defined-timer0_ovf_vect/147097