The distinction is there in Welsh as well. Among its several meanings, cael can be used, as here, to mean 'being allowed to'. So ga i ...? is used as the equivalent of 'may I ...?'
'Can he swim?', as in his ability, would be ydy e'n gallu/medru nofio?.