Thanks for the query.
Yes it can be hernia
The pulling sensation can be the first sign of hernia.Cough
sign may become positive at a later stage.
Please get yourself examined.
Please meet a surgeon for exact diagnosis.
Let me know if you have any other doubt.
you can ask a direct question to me on this forum, following the below link.
Wishing you a good health.