Yes you can. Just make sure to use only the pulp, that is make sure to cut a very clean slice and also remove the centre portion. Grate the pineapple to make the compote and for the juice you can slice them.