Yes, you can. Jeremy Tammik has enormous knowledge and his blog gives really good hints on how to make things happen in Revit.
The question is - do you know enough C# and Python to see what is the idea behind the sample on the blog and how to port this code to Python?
For starters I suggest Python course from codecademy. It’s short, introduces you to Python syntax, covers lists and gives enough time to think what to do next and it’s free.