It is possible, I graft pear trees on mespilus germanica very well. But some varieties are more compatible.
Pear trees are compatible with: mespilus germanica, cydonia, crataegus ( monogyna ) etc.
However, in general, one should avoid grafting a deciduous fruit tree onto an evergreen fruit tree