silly question

Can you masterbate while pregnant? I know thissounds stupid but I'm a bit worried incase I'm not supposed to. I'm sexually frustrated and my boyfriend is weirded out by having sex. A girl has needs? 😁 btw I'm 6 weeks