if you use I2C for midi you are going to end up using something as a bridge… e.g. something like an arduino.
however I think the issue is more the software on the rPI ,
since it will have to speak ‘i2c’ (and how you chose to encode midi over it)
OR you write a small alsa app that exposes a virtual midi port that then does that mapping for you.
(then any midi enabled app can use this connection)
i.e. we end up with
-----------RPI-------------------------- ------arduino---
PD -> virtual midi -> alsa midi-2-i2c app -i2c-> i2c-2-midi sketch --> usb or midi din output
but all seems like a faff, seeing as rPI has usb hub , and a USB->MIDI din cable is like $5-10 
but perhaps im missing something?
Id only see i2c as perhaps preferable if I wanted to write my own custom protocol (*),
so Id want to write both ends of the comms and interface to apps thru an api
(*) main purpose, and Ive been considering this for one project recently, is either optimisation or due to existing protocols being inadequate for purpose.
(e.g. ive a use-case where midi does not have enough for my needs but OSC is a bit heavy)