Can you go to your gp just to take a pregnancy test ?

Here me out. Before you say " go buy one " I'm 18, in college, no job and I live with my mum I haven't got the freaking money to go buy one& I can't just ask my mum for the money because I don't want her knowing if I am, I don't want anyone knowing.

Ive been with my boyfriend 2 years and I did a stupid thing and went on holiday for two weeks about a month or two ago , completely forgot my pill & we slept together a few times unprotected and drunk and I think I'm pregnant ( I've had a few symptoms)

I don't want a child - just saying. So if I am pregnant I don't want to keep it, please don't hate on me/ judge me for that.

Can I go to my GP just to take a pregnancy test ? And if I am sort things out there and then without them telling anyone?

If I'm pregnant I don't want anyone knowing because I'll want an abortion and I don't want anyone knowing not even my boyfriend not my mum , i don't want people judging me I'd feel awful but it's my own stupid mistake

( I don't want to not tell my boyfriend to be selfish , I'm scared of telling him and I'm scared of him hating me for wanting a termination )