Yes — fill 3L twice into the 5L jug; 1L stays in the 3L jug
Fill 3L → pour into 5L (5L has 3). Fill 3L again → pour into 5L until full (2 more in, 1 left in 3L jug). You've measured 1 litre.