How to create dynamically method actions

It’s posible to create these methods…using the names of these methods from an

array(usually geted from db)?

Because I’m using a lot of actions in yii2.

You need to be specific and give some examples. The answer is yes you can, however, you may be able to do something a lot simpler with proper routing.