So Custard powder and Custard are both expensive where I am from. My mom is looking for ways to do creams to put inside pastries. Currently, what I do is use Fresh Milk, melted butter and some flavoring. Will adding gelatin to water and juice make them look and taste like fillings? I am thinking of using purple yams as flavor, like a jam, and then make them creamier by adding them to the butter and hot milk. Any tips will receive digital hugs XD But really, thanks. hopefully, it is not expensive XD
There are many thickeners that can make fruit juices into thick fillings.
You can make a traditional egg custard, as bob1's reply to your answer mentions.
You can make a non-egg filling using other thickeners, like gelatin or starches. Popular starch thickeners to use for pastry fillings are corn starch and tapioca powder. Any of these will work well with liquid flavoring ingredients like fruit juice. Corn starch is very cheap, at least here in the U.S.
Yams already contain a lot of starch and very little liquid, so you will need to add liquid (milk or cream should work well) if you plan on using additional thickeners (which may help achieve a smoother, less chalky texture). I do not recommend gelatin for yam filling because I don't believe the textures will go well together.
"Yam" is a word that is applied to a bunch of different roots, but I think it's worth looking at this Portuguese Trutas recipe. These sweet potato pastries are amazing and don't require additional thickeners. Note that the yam or potato should be pureed, not mashed.