Yes, use a button with
@nodeselect Favorites ADD PATH={filepath$}
How to use buttons and scripts from this forum