Basically, you can. But you need to have some skills already. If you’ve never done this before, better hire a professional plumber.