I would say that's fine provided that when you're in big-big (i.e. the rear derailleur is at 1 and the front derailleur is on the largest chainring) that the derailleur pulley cage isn't stretched out past about the 4 o'clock position.
It's hard to tell, as you don't say whether you have a double- or triple-chainring up front, but as a rule, when you're in small-small you want the rear mech to be swung backwards but still with some spring 'bounce' applying tension to the chain - usually just shy of horizontal.
There will be folks along in a moment to correctly point out that both of these extreme gear combinations are to be avoided, as they're inefficient, cause additional drivetrain wear and are overlapped by more drivetrain-friendly combinations