I've taken on two dogs this way.
Ostensibly, they belonged to two different neighbours but after bringing them home for treatment and food, there was no pushback from their former owners.
Both dogs considered me their new dad and made no attempt to return to their original abode.
Go for it and please help this poor pup.