Ole Gunnar Solskjaer says Wayne Rooney can manage Manchester United if he is willing to make the sacrifices needed to survive in the role.