My question is if a person is unable to offer maghrib prayers right after the onset of the time for maghrib and gets late can he still offer namaz e ghufaila after that or is namaz e ghufaila only to be recited if maghrib is offered early?

Yes, he can