Can I import a matlab code or python code in to the snap s1tbx and process my data to make a continous work flow along with already available tools?

Can I import a matlab code or python code in to the snap s1tbx and place it in graph builder to make a continuous processing chain? If “yes” how. If “No” what is the best alternative to do the whole preprocessing work with tools available in the snap s1tbx and other own analysis part as a continuous and fully automatic processing chain.
And I also want to know what is snappy?