If you get selected to attend the Admiralty Interview board, and
If you pass the AIB, and
If there are enough vacancies for officers that you get selected from those who pass, and
If the MoD vets your application, and
If you pass extensive training including potentially almost a year at HMRC Britannia in Dartmouth, and
If we still have a bloody navy left by the time you come around to apply,
Then yes, you can enter as a Sub-Lieutenant (OF-1) as a graduate, whilst non-graduate officer candidates enter as a Midshipman (OF(D)) and enlisted personnel join as ratings.