Addon Troubles

Hello, I wanted to know if I can somehow create an addon for xbmc/kodi for use with my raspberry pi 2. The addon would allow me to play a livestream from a website, onto the raspberry pi. Is this possible? If so, can someone give or create a tutorial for me to follow.

Thanks, Much appreciated!