Dynare for dynamic asset allocation

In principle, yes, but it is not straightforward. You could only use Dynare’s capabilities to implement e.g. the Devereux/Sutherland algorithm. See also

[quote]Models with portfolio choice]

.