Yes. You can go out on any card. If your last card is a Draw 2 or Wild Draw 4, the next player still draws, and those cards count when the round is scored1.
Why people argue about it
A lot of families ban finishing on an action card. When Uno’s account said in 2019 that you can end on one, news sites picked it up2,3.
Holding a Draw 4 as your last card is a thrill or a foul, depending on who taught you. Clear it up when you deal, and if you play for points, say whether a finishing card changes the score. Last lap allows an action finish but gives everyone one more turn to empty their hand and share the win. Clean finish bonus pays 50 extra points for going out on a number. We’d use Last lap with kids, so a final Wild isn’t an ambush.
Play it a different way? Post it so others can vote on it.