Segue abaixo uma solucão que NÃO usa funções vetorizadas, porém é melhor que a utilização de loops em dataframe.
A solução apresentada na própria pergunta demanda tempo de execução por conta do append
.
Criando o dataframe de teste
>>> import pandas as pd
>>> import pandas.tseries.offsets as ts
>>> datas = ['20220127', '20220615', '20220712']
>>> tempos = [6,12,24]
>>> df = pd.DataFrame({"data": datas, "tempo": tempos})
>>> df['data'] = pd.to_datetime(df['data'], format='%Y%m%d')
Verificando dataframe criado
>>> df
data tempo
0 2022-01-27 6
1 2022-06-15 12
2 2022-07-12 24
Criando coluna auxiliar
>>> df['aux'] = df.apply(lambda x: [i for i in range(x['tempo'])], axis=1)
>>> df
data tempo aux
0 2022-01-27 6 [0, 1, 2, 3, 4, 5]
1 2022-06-15 12 [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]
2 2022-07-12 24 [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13,...
Explodindo coluna auxiliar e transformando em linhas
>>> df = df.explode('aux')
Criando a coluna ini_mes
>>> from pandas.tseries.offsets import DateOffset
>>> df["ini_mes"] = df.apply(lambda x: (x['data'] + pd.offsets.MonthEnd(0) - pd.offsets.MonthBegin(1)) + DateOffset(months=x['aux']), axis=1)
Resultado
data tempo aux ini_mes
0 2022-01-27 6 0 2022-01-01
0 2022-01-27 6 1 2022-02-01
0 2022-01-27 6 2 2022-03-01
0 2022-01-27 6 3 2022-04-01
0 2022-01-27 6 4 2022-05-01
0 2022-01-27 6 5 2022-06-01
1 2022-06-15 12 0 2022-06-01
1 2022-06-15 12 1 2022-07-01
1 2022-06-15 12 2 2022-08-01
1 2022-06-15 12 3 2022-09-01
1 2022-06-15 12 4 2022-10-01
1 2022-06-15 12 5 2022-11-01
1 2022-06-15 12 6 2022-12-01
1 2022-06-15 12 7 2023-01-01
1 2022-06-15 12 8 2023-02-01
1 2022-06-15 12 9 2023-03-01
1 2022-06-15 12 10 2023-04-01
1 2022-06-15 12 11 2023-05-01
2 2022-07-12 24 0 2022-07-01
2 2022-07-12 24 1 2022-08-01
2 2022-07-12 24 2 2022-09-01
2 2022-07-12 24 3 2022-10-01
2 2022-07-12 24 4 2022-11-01
2 2022-07-12 24 5 2022-12-01
2 2022-07-12 24 6 2023-01-01
2 2022-07-12 24 7 2023-02-01
2 2022-07-12 24 8 2023-03-01
2 2022-07-12 24 9 2023-04-01
2 2022-07-12 24 10 2023-05-01
2 2022-07-12 24 11 2023-06-01
2 2022-07-12 24 12 2023-07-01
2 2022-07-12 24 13 2023-08-01
2 2022-07-12 24 14 2023-09-01
2 2022-07-12 24 15 2023-10-01
2 2022-07-12 24 16 2023-11-01
2 2022-07-12 24 17 2023-12-01
2 2022-07-12 24 18 2024-01-01
2 2022-07-12 24 19 2024-02-01
2 2022-07-12 24 20 2024-03-01
2 2022-07-12 24 21 2024-04-01
2 2022-07-12 24 22 2024-05-01
2 2022-07-12 24 23 2024-06-01