Same shifters? Same width? Same drop?
On paper, yes you can. In real life mostly yes, very rarely no.
You're keeping the shifters in the same place but moving the tops and sometimes the drops. This is usually not an issue but I see the occasional fit where the bar height needs to go up/down to get back to a comfortable position.