Permitted? As in a classroom setting?
Even then the teacher will likely give a lot of latitude regarding the "rules".
Otherwise as said by @S. Mitchell, you can do whatever you want. In poetry, grammar is just a guideline, a suggestion really, and the poem is often stronger by not being "correct".
Poe-teary is war roles: break "fast" is a most: Beauty! is imperfect, non- , grand mare is death: Ahum .
Since you asked about getting rid of those "the", I would suggest going further and getting rid of the gaggle of they, the, the... To me, those are unsavory, unnecessary, mouthfuls.
Memories of fruit's tasting
Remembrance of fruit's taste
They remembered the taste of fruits they enjoy.
Love of the kerosene lamps' light
Lovely kerosene lamps' glow
Or if these are part of the same poem, I would destructure the sentences
Though I admit these modifications change the meaning a bit.