You may be able to claim constructive dismissal, but this isn’t always easy. You will need to show that your employer’s behaviour was fundamentally serious — for example, publicly physically assaulting you — rather than a minor problem. You will also need to show that this was the reason for your resignation.
It can be more difficult to make a successful claim if you resigned without trying to resolve your complaint using your employer’s grievance procedure. Equally, an employment tribunal may doubt your claim if you delay your resignation too long.
Whatever the circumstances, you should take legal advice. A free initial enquiry will help you understand what you should do.