I do all that after sehri (we finish our sehri 10 mins earlier to save time for this ritual) and after dinner at night. I agree that this the best way of getting rid of any bad breath.
Off course because all this require inserting fingers and objects deep in my mouth, I dont do it during fast, in case i gag and/or vomit.