In the US, yes. It’s pretty contentious and hasn’t been used much.
https://deathpenaltyinfo.org/state-and-federal-info/federal-death-penalty
Unsurprisingly a large number of them occured under Trump’s administration.
https://en.m.wikipedia.org/wiki/Capital_punishment_by_the_United_States_federal_government
Fuckin gay /lh /s
https://youtu.be/DwORzQxAXmU