You can do it if you’ve done any basic ... building inspector for advice. If it’s a load-bearing wall, the inspector may help size the beam or recommend that you have a structural engineer ...