You can. Bicycle says an eight can be played on any turn, and neither it, pagat nor Wikipedia makes an exception for your last card.
Why people argue about it
Crazy Eights has cousins that do ban it. In Mau-Mau you can’t win on an ace, and the Dutch game Pesten won’t let you finish on an effect card, so those habits travel. Some rules pages even word it as if you must finish on an 8, which muddies things the other way.
Anyone raised on Mau-Mau or Pesten may balk when your last card is an 8. If you keep score, the real question is what a finishing 8 is worth. Eight finish pays half lets you go out on it but halves your take that round, rounded down. Eight out scores double doubles the haul, and any 8 stuck in a losing hand counts 100. For scoreless family play, we’d allow the finish and save Eight out scores double for running totals.
Play it a different way? Post it so others can vote on it.