Yes, both versions would be accepted.
"...like I was their own son" is more common, but technically, the subjunctive mood should be used "...as if I were their own son." [The subjunctive 'were' is correct, but in the U.S. anyway, many people commonly, and incorrectly, would use the past tense 'was' here.]