Hi L lyluk2023,
Your questions would suggest that it was your intention to reside in the UK and perhaps take up employment etc, in 22/23, rather than be here for a holiday for example.
If your were in the UK for a holiday and earned no UK income or capital gains while here, then you would not need to register and submit a self assessment tax return.
However, if it was your intention to remain in the UK, you would still be required to undertake the residency tests. If after doing that, you are considered to be not tax
resident in the UK for the whole of 22/23 tax year and you had no UK income or capital gain in the 22/23 tax year, then you would not need to complete a tax return.
The residency test can be found at
RDR3 Statutory Residence Test.
If you are considered resident in the UK, then a tax return would be required.
Thank you.