Yes, there are several approaches:
1. You can have an "autorun" on your media that gets invoked when the media is inserted, e.g.:
... or ...
2. You can configure your desktop (for example, KDE) to invoke a specific program when media is inserted, e.g.:
3. Here's another link that explains a bit further:
'Hope that helps .. PSM