Can you sue a company who bought a domain name the same as your own after you got yours?

If you own the trademark on the keywords/ name of the domain, then you may have grounds to pursue legal action. If it is a generic word/s, then you may struggle to have a case. I would recommend seeking legal advice from someone who specialises in online/ digital law.