Not sure about Military but on civvy street up to five hours can be logged as PPL training on MSFS so long as it's stick and rudder, not on a stoneage computer and been checked off as authorised.
And as a keen MSFS pilot, I'd say it's deffinetly worth giving a bash if not just for fun.