Yes, you can amend your return after you've received a refund. In fact, the IRS doesn't want you to amend until you've already gotten your tax refund.
If you owe money after amending, you'll have to include payment with your e-filed or mailed amendment form.
If your amendment results in a second refund, you'll get a check for the additional amount.
If you’re amending a tax return for the year 2021 or later and you’re filing electronically, you can now request your refund by direct deposit instead of a mailed check.