If you don’t have access to leeks — yes, they can be swapped out. I recommend 1 medium onion (preferably sweet onion, if you can), cut into medium chunks to mimic that sweet, onion flavor.