Not only can you, but you really should. A registered trademark doesn’t just give you the right to use your brand in the “real” world, but online as well. Should a domain name conflict ever arise, you’ll be in a much better position to defend your brand with a registered trademark.