I wouldn't recommend using jam or pie filling. There is too much moisture in jam and pie filling which will mean the bars won't stick together very well. They also contain a lot of sugar which would alter the finished taste.