Yes you can. You have to add it right at the end when your jam is cooling off other wise the alcohol will evaporate. But to offset the smell of alcohol you need to add something aromatic which would complement your jam as well.
Shahram