If someone has earned more than £1,000 from their side hustle in a tax year, they may need to complete a self-assessment tax return, HMRC said.