Possible but difficult.
Better for them to visit you during training, should be fine for them to stay with you (unless you are sharing rooms for the whole training now)
Check if you have access to staff travel right away, or only after passing. It could get expensive flying back and forth.
If you haven't got good family/friends support to look after your kids while you're gone, forget it.