When I say "program on a whiteboard", I am mostly talking about the google style algorithms questions.
The way to practice for those is to just do a whole bunch of them, and talk to yourself, like you are in an interview.
It is just CS 201 material. All the material is out there for anybody to study.
The best materials are Cracking the Code interview, as well as the Google University github page.
There are also free resources out there for doing real life practice interviews, and pairing you up with people who do that.
Preparing for the Google Style interview is a whole entire industry.
They've got the most common algorithm questions asked at the various Big Tech companies.
Go through them, and learn to solve/implemented at least 250 of their problems, and you'll be able to able to breeze through most algo interviews.