Yes, and you don't even have to code it all yourself. If you use tools like Steemvoter or Steemfollower you can also "pay to win". Pay 3SBD to Steemvoter, link all your accounts there and have them upvote all your posts. It's all about the initial Steem Power.
However, does anybody know how big the portion of Steem / Steem Dollars is that actually goes to haejin?