Not if they are allergic to peanuts. Most peanut butter is just peanuts, oil, sugar and salt all blended together.
It depends which nuts you are allergic to, if peanuts are included in the list, then no, you can't.
Yes, some people are allergic only to tree nuts, of which, the peanut is not included.