This is going to be a privacy issue for some.
Your idea is not bad but I would keep the part of members who visited profile private and not public.
There is nothing so special to hide here, but I have a felling it may start new wars and fights between some members.
I believe that the user's privacy depends on him / herself. I do not suggest disclosing data that can help in revealing identity or IP, etc.
We are discussing the forum interface as the SMF supports the "Profile Visits" function, it just is not enabled.
In the end, this can be left to the discretion of the user, as in the case of "hiding their email address" or "online status."