Yes it would work but your mixin logic is not quite right, and you need to pass the content paragraphs as an array of strings not an object as you have in your example.
Mixin Changes
- remove
for
keyword - set
p= paragraph
, notcontent
which is the array
With these changes your mixin should look something like this
mixin blogPost(title, content)
article
h1= title
- each paragraph in content
p= paragraph
Then just remember to call the mixin with an array of strings
+blogPost("Post Title", ["This is my awesome blog post.","This is a new paragraph about my awesome blog post."])