How to study interactions of a amino acids with its vicinity residues

GROMACS version:
GROMACS modification: Yes/No
Here post your question
Hi readers and experts.

I want to compute the factors that are impacting conformation of a single amino acid. For example I want to compute interaction energies of amino acid with other amino acids in the same protein.

Is it possible to do with mmpbsa? Or is there any other trick?. Please suggest. Thank you for your precious time.