As long as your framework is limited to a subdirectory of your website, then yes, you can consider your framework a submodule of your website repo, which acts as a "parent" repo.
SourceTree supports submodules (since 1.3), and if your framework is managed in its own repo, you can add it to your website repo.
See "Using submodules and subrepositories"