Period yet pregnant?

Had my period a week ago. Normal except it came 4 days early.

Took a pregnancy test prior to my period and got a very very faint line... period came so I thought it was wrong or chemical.

I've been feeling off since my period ended. Bloated. Headaches. Fatigue. Cravings.

Could I be pregnant even though my period recently ended?

I was reading online that some women get period like bleeding and don't know they're pregnant until they literally start showing.