I could have moved out when I was 18 - I had the opportunity/ability to move out when I was 18.
I could move out when I was 18. - Not natural on its own, though possible in, for example, reported speech:
My mother said I could move out when I was 18. - Her actual words were, "You can move out when you are 18".