Is clould only for clould base services or we can also write code like power automate desktop ? and build template like reframe works in clould?

Is clould only for clould base services or we can also write code like power automate desktop ? and build template like reframe works in clould?