Is there any way to implant, remove, or change a memory in your subconcious through a lucid dream?
if so, how?
Another thing is, is there any way to change the way your subconcious thinks in the real world through one?
such as changing an instinct or giving yourself a different mindset
thank you for your time,
Implanting a memory via a lucid dream... sounds like Inception!
You can re-live memories through lucid dreams, and through manipulation of the memory, end up tweaking it, just as you would by remembering something in waking life. Memory is highly subjective and not at all "photographic" or as factual as we'd like to imagine. So an re-imagining of past memories can distort them, and this is usually unintentional.
However I have never heard of anyone implanting or completely removing a memory via a lucid dream. Like a regular dream, there is no real mechanism in place for this. I don't see lucid dreaming as a backdoor for literally re-coding your brain like a computer. Although I do see it as a therapeutic tool that can help shape your beliefs and therefore behaviors. But I am not a psychologist so couldn't definitively say what's possible. Maybe in mental illness like schizophrenia this sort of thing does happen - false memories are created (for instance, not knowing what was real and what was dreamed). But I don't think a healthy mind could be tripped up like this on any meaningful level.
Your second question - changing the way your subconscious thinks - I do believe is possible, not just through lucid dreaming but through a conscious desire to change. If you are determined to be a more optimistic go-getter, for example, you surely could shape your thoughts using behavioral techniques, NLP, hypnosis, etc. And there could well be a place for this in lucid dreaming too, such as talking to your dream self while lucid and asking for this change to come about. It's an interesting area to explore and I'd encourage this in whatever way you feel comes most naturally.
However as I mentioned above, lucidity can be a therapeutic tool but is not a way to flick certain psychological switches on and off. The mind is conceptual, not mechanical, so you have to work on those terms.