Passing local/sql variables to snowflake using models created in dbt

In snowflake there is a possibility to define local variables and use in queries and views which help add dynamism based on certain conditions. Is it possible to add them to dbt build model so that the same functionality can be used instead of building such models directly?