Direct answer
Yes, if the official scorer credits an RBI on the sacrifice fly. An RBI and a hit are separate statistics.
What to check
Compare the official batting line. A run can score without your selected player receiving a hit, and not every scoring play credits an RBI.