Assume we write a permutation p as a disjoint cycle. i.e. p=(12)(346)(5).
Can we think of this process as decomposing p into a unique basis of smaller permutations, with $p_1=(12)$, $p_2=(346)$, $p_3=(5)$ being permutations in their own right, that make up p under function composition, regardless of order?
Is this in any way somehow related to disjoint cycles being a basis for the permutation? And if so, do you learn this later? Is it a known point of view?
The set of cycles can be thought of as a ${\bf generating}$ ${\bf set}$ of the group of permutations, i.e. any permutation can be written as a product of cycles. It is the closest thing to a basis for a general group.
However, you need to be careful since basis is something very particular. In general, you don't have unicity of the decomposition for generating set, even though for the permutations and cycles this is the case. I would be inclined to think that drawing too much parallels with basis in linear algebra could be misleading.
An intermediate case between linear algebra and groups, is finitely generated abelian groups, which can be thought of as "$\mathbb{Z}$-vector space" (the rigorous term is $\mathbb{Z}$-module since $\mathbb{Z}$ is not a field) where you get something which can be thought of as a kind of basis.
Fixing a generating set for a group $G$ allows you to :