Yes. You need to make sure you pay yourself a "reasonable wage" while taking the rest; or some of your other income as distributions of profit.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"