@Sarahseyes
Yes but some countries may require a health care professional to do it (so just check the entry requirements). One that a HC person does is £99 at Boots. Home ones are cheaper, I’ve done a PCR for £50 and came in time to travel fine!
Do you mind sharing the one you got done at home please, if that's allowed here