Calculating excess chemical potential by Widom Insertion Method, in LAMMPS

Respected All,

Can we calculate the excess chemical potential using Widom Insertion method, for a molecule, in LAMMPS. If so, can some one share a sample script.

Thank you,

Yours sincerely,

JS