Not under the national mandatory rule in England, which applies to large HMOs of 5 or more people. You may still need a licence if your council has designated additional licensing for smaller HMOs in that area. Check the council's scheme dates and map, not only the national threshold.
Planning rules are separate. A small HMO of 3 to 6 people may need planning permission if an Article 4 direction applies, even where no HMO licence is required. See What is Article 4?.
Useful links
Guidance only, not legal advice. Only the council can decide whether a property needs a licence, and the law can change. Check the linked GOV.UK pages and your council.