You can only do this by riding the bike and applying the brakes hard enough to trigger the ABS, both front and back - various methods of doing this but all carry an element of uncertainty / safety issues.
A dealer can hook the bike up to an SDS machine and cycle the pump electronically they’re charging me about 50 quid for the privilege