Generally yes, most countries you leave and return and start over. Most have minimum durations for the time you must be gone, but the enforcement of that varies. Here in Panama
its 72 hours.
We are about to make a visa run out of Panama
to Costa Rica
. Conveniently, there is a very pleasant Italian immigrant town called San Vito just across the border. Go spend a nice long weekend there, eat some good Italian food
, and get a new visa on return to Panama.