Answer:
Depending on what your making, yes. Since oranges and lemons are both citrus fruit they can be swapped aroung to change up tastes in food. But it still depends on whats being cooked because if you are making orange flavored ice cream the swapping with lemon might not be the best choice.