That's more R&D than part of the day-to-day engineering process, though.
Anything that's going to be secret sauce is going to need a lot of prototyping and experimentation, and might not even yield usable results. Oftentimes, it isn't even possible to make an estimate as to the complexity of what it is you are building -- all you can do is timebox it.
Mixing that in with normal day-to-day development feels, to my brain, like mixing concerns.
Once those prototypes and experiments start to produce tangible benefits, then incorporating them just becomes another story in the sprint.