Yes, perfectly correct, & you have used it perfectly correctly. "He used to go to Paris every weekend" = "he was accustomed to go to Paris every weekend". The pronunciation differs from 'used' in the sense 'make use of'.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.