It is possible to get a tattoo anywhere. Be aware that anytime you tattoo over areas close to bones (such as ribs) it can be very painful. Also, the closer to the armpit, the more painful it gets.
Yes, you can definately get a cool tattoo along your ribs. There is one important thing to keep in mind before starting tattoo art on your ribs. Tattoos over bones can be very painful. You may want to break up the art into several sessions.
Yes, you can get a tattoo on the side of your ribs. It might be especially painful if you are skinny because it will be close to bones. Make sure you consider how your body might stretch and change when you decide a location.